package com.omp.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 产品
 */
@Entity
@Table(name = "base_product_list")
public class Product {

	private Integer id; //编号
	private String name; //名称
	private String desc; //业务说明
	private String qualification;  //开通资质
	
	private String industryName; //所属行业名称
	private String beginDateShow; //所属行业生效日期

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "product_id")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "product_name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "product_desc")
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Column(name = "product_opened_qualification")
	public String getQualification() {
		return qualification;
	}

	public void setQualification(String qualification) {
		this.qualification = qualification;
	}

	@Transient
	public String getIndustryName() {
		return industryName;
	}

	public void setIndustryName(String industryName) {
		this.industryName = industryName;
	}

	@Transient
	public String getBeginDateShow() {
		return beginDateShow;
	}

	public void setBeginDateShow(String beginDateShow) {
		this.beginDateShow = beginDateShow;
	}

}